﻿#pragma once

#include "Algorithm/RteInterface/RoadMessageIF.h"
#include "Algorithm/RteInterface/VehicleMessageIF.h"

#include "Algorithm/RteInterface/AlgorithmMessageIF.h"


#ifdef INS_NODE_DATA
   #define EXTERN
#else
   #define EXTERN  extern
#endif
   
   
#define  DATA_POOL_SIZE             100U //仿真输入数据池大小 默认值就可以
namespace NodeData
{
   //仿真接口数据
   EXTERN RoadMessageIF roadMessage[DATA_POOL_SIZE]; //用于存储数据 当前仿真数据帧
   EXTERN VehicleMessageIF vehicleMessage[DATA_POOL_SIZE]; //用于存储数据 当前仿真数据帧


   //需要存储的仿真接口数据
   EXTERN RoadMessageIF SIL_roadMessage; //用于存储当前仿真数据帧 SIL_roadMessage = roadMessage[nowReaderDataIndex]


   //算法数出数据 不需要定义成数组
   EXTERN AlgorithmMessageIF algorithmMessage;
}

#undef EXTERN
